package com.dhweb.constants;

import java.util.Arrays;
import java.util.List;

/**
 * 压缩文件常量
 * @author zhouxl
 * @DATE 2021/8/8
 * @descriptoin
 */
public class CompressConstants {

    /** app压缩包的根路径 */
    public final static String APP_FILE_NAME = "APP";
    /** pc压缩包的根路径 */
    public final static String PC_FILE_NAME = "PC";
    /** 转换名称后的应用文件根路径 */
    public final static String CONVERT_FILE_NAME = "CONVERT";

    /** 待解压处理源zip包 */
    public final static String UNCOMPRESS_ZIP_FILE_NAME = "UNCOMPRESS";

    /** 中转文件包 */
    public final static String TRANSFER_DIR_NAME = "TRANSFER";

    /** 版本更新的包目录 */
    public final static String UPGRADE_DIR_NAME = "UPGRADE";

    /** 源zip存储包 */
    public final static String SOURCE_DIR_FILE_NAME = "SOURCE";

    /** icon图标目录结构app/zip */
    public final static String ICON_DIR_NAME = "ICON";

    /** 需要上传的app表示的zip包目录机构/app/zip */
    public final static String UPLOAD_DIR_NAME = "UPLOAD";

    /** 解压文件的编码集 */
    public final static List<String> COMPRESS_CHARSET = Arrays.asList("utf-8","gbk");


}
